import { axios } from '@/utils/request'

const urlList = {
    getFileList: '/rsfile/rsFile/filelist',
    creatFolder: '/rsfolder/rsFolder/add',
}

export function getFileList(params) {
    return axios({
        url: urlList.getFileList,
        method: 'get',
        params
    })
}

export function creatFolder(data){
  return axios({
    url: urlList.creatFolder,
    method: 'post',
    params: data
  })
}